package com.eurasia.assignment.domain;

import java.time.LocalDateTime;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Project {
    private Long id;
    private String name;
    private String course;
    private String type;
    private LocalDateTime createTime;
    private String finishTime;
    private String status;
    private String score;
    private Integer points;

    public static Project create(String name, String course, String type) {
        return new Project(null, name, course, type, LocalDateTime.now(), "-", "待提交", "-", 0);
    }
} 